﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RegistPage.aspx.cs" Inherits="Phong_CTSV.RegistPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .textbox
        {
            color: #FF0000;
            font-size: medium;
            background-color: #FFFFFF;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <br />
        <br />
        
        <div id="dv1" align="center">
             <asp:Panel ID="pnLogo" runat="server" >
        <asp:Image ID="logoVNU" runat="server" ImageUrl="../Resources/VNU_03.jpg" ImageAlign="Middle"
            Height="70" Width="100" style="text-align: left" />
        <asp:Label
        ID="lbTitle"
        Text="Tạo Tài Khoản Mới"        
        runat="server"
        Height="50"     
            style="font-weight: 700; color: #3333FF; font-size: x-large; font-family: Arial, 'Helvetica Neue', 'Lucida Grande', 'Segoe UI', Arial, Helvetica, Verdana, sans-serif; text-align: center;" />
         </asp:Panel>    
            <br />
            <asp:Panel ID="pnNewUser" runat="server" DefaultButton="btnRegist" BorderStyle="Double"
                BorderColor="DarkViolet" Width="420px" Height="250px">              
                <br />
                <br />
                <asp:Label ID="lbUniversity" runat="server" Text="Trường:" Style="font-size: medium;
                    text-align: left;" Width="110px" />
                <asp:DropDownList ID="ddlUniversity" runat="server" Width="225px" Height="22px" />
                <br />
                <br />
                <br />
                <asp:Label ID="lbUserName" runat="server" Text="Tên Tài Khoản:" Style="font-size: medium;
                    text-align: left;" Width="110" />
                <asp:TextBox ID="txtUserName" runat="server" CssClass="login_TextForm" Width="220px" />
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                    Display="Dynamic" Font-Size="8pt" Style="color: #FF0000">(*Không bỏ trống mục này)
                </asp:RequiredFieldValidator>
                <br />
                <br />
                <asp:Label ID="lbPass" runat="server" Text="Mật Khẩu:" Style="font-size: medium;
                    text-align: left;" Width="110" />
                <asp:TextBox ID="txtPassword" runat="server" CssClass="login_TextForm" TextMode="Password"
                    Width="220px" />
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                    Display="Dynamic" Font-Size="8pt" Style="color: #FF0000">
            (* Không bỏ trống mục này)
                </asp:RequiredFieldValidator>
                <br />
                <br />
                <asp:Button ID="btnRegist" runat="server" CssClass="textbox" Text="Đăng ký" Font-Bold="False"
                    Width="150" Height="30" OnClick="btnRegist_Click" />               
                
            </asp:Panel>
            <br />
            <asp:Panel ID="pnNewUniversity" runat="server" DefaultButton="btnNewUni" BorderStyle="Double"
                BorderColor="DarkViolet" Width="425px" Height="245px">              
                <br />
                <br />
                <asp:Label ID="lbUniName" runat="server" Text="Tên Trường:" Style="font-size: medium;
                    text-align: left;" Width="110">
                </asp:Label>
                <asp:TextBox ID="txtUniName" runat="server" CssClass="login_TextForm" Width="220px"></asp:TextBox>
                <br />
                <br />
                <asp:Label ID="lbLocation" runat="server" Text="Địa điểm:" Style="font-size: medium;
                    text-align: left;" Width="110">
                </asp:Label>
                <asp:TextBox ID="txtLocation" runat="server" CssClass="login_TextForm" Width="220px"></asp:TextBox>
                <br />
                <br />
                <asp:Label ID="lbEmail" runat="server" Text="Email:" Style="font-size: medium; text-align: left;"
                    Width="110">
                </asp:Label>
                <asp:TextBox ID="txtEmail" runat="server" CssClass="login_TextForm" Width="220px"></asp:TextBox>
                <br />
                <br />
                <asp:Label ID="lbPhone" runat="server" Text="Điện thoại:" Style="font-size: medium;
                    text-align: left;" Width="110">
                </asp:Label>
                <asp:TextBox ID="txtPhone" runat="server" CssClass="login_TextForm" Width="220px"></asp:TextBox>
                <br />
                <br />
                <asp:Button ID="btnNewUni" runat="server" Text="Đăng kí"  CssClass="textbox"   
                    Width="150" Height="30" Font-Bold="False" onclick="btnNewUni_Click"/>               
                
            </asp:Panel>
            <br />
            <br />
            <div align="center" >
            <asp:Panel ID="pnAlert" runat="server">
                <asp:Label ID="lbAlert" runat="server" Text="Alert" 
                    style="font-size: large; color: #0000FF" />
                <p></p>
                <asp:Button ID="btnNewUser" Text="Thêm tài khoản mới" runat="server" 
                    OnClick="btnNewUser_Click" Height="30px" Width="166px" />
                <asp:Label ID="lable" runat="server" Text="" Width="40px" />
                <asp:Button ID="btnReturnHome" Text="Về trang chủ" runat="server" 
                    OnClick="btnReturnHome_Click" Height="30px" Width="117px" />
                </asp:Panel>
            </div>
        </div>
    </div>
</asp:Content>
